# Tokens

import ply.lex as lex
import ply.yacc as yacc

TkComa = r','
TkPuntoYComa = r';'
TkParAbre = r'\('
TkParCierra = r'\)'
TkSuma = r'\+'
TkResta = r'-'
TkMult = r'\*'
TkDiv = r'/'
TkIgual = r'='
TkDisyuncion = r'\\/'
TkConjuncion = r'/\\'
TkNegacion = r'^'
TkMenor = r'<'
TkMenorIgual = r'<='
TkMayor = r'>'
TkMayorIgual = r'>='
TkDesigual = r'/='
TkHorConcat = r':'
TkVerConcat = r'|'
TkRot = r'$'
TkTras = r'\''
TkAsignacion = r':='
TkMod = r'%'

# Palabras Reservadas
TkUsing = r'using'
TkRepeat = r'repeat'
TkBoolean = r'boolean'
TkIf = r'if'
TkOfType = r'of type'
TkTrue = r'true'
TkFalse = r'false'
TkBegin = r'begin'
TkEnd = r'end'
TkInteger = r'integer'
TkCanvas = r'canvas'
TkElse = r'else'
TkDone = r'done'
TkPrint = r'print'
TkThen = r'then'
TkWith = r'with'
TkFrom = r'from'
TkTo = r'to'
TkComentAbre = r'{-'
TkComentCier = r'-}'

#TkNum = r'\d+'
#TkIdent = r'[a-zA-Z_][a-zA-Z0-9_]*'
#TkLienzo = r'<empty></><\\><|><_><->< >'

print TkDisyuncion

